<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div id="clientTraceAdd_dialog" class="easyui-dialog" style="width:820px;height:400px"
     data-options="title:'客户跟踪', closed:true,buttons:'#clientTraceAdd_btns'">
    <form id="clientTraceAdd_form" method="post">
        <input type="hidden" name="id">
        <input type="hidden" name="clientId">
        <table align="center" style="margin-top: 10px;font-size: 12px" cellspacing="10px" width="800px"
               cellpadding="5px">
            <%-- <tr align="right" style="height: 30px">
                 <td><span style="font-size: 14px">学校客户:</span></td>
                 <td colspan="5" align="left">&nbsp;&nbsp;&nbsp;<input type="checkbox"  name="isUniversityClient"/></td>
             </tr>--%>
            <input type="hidden" name="client.id">
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">学员:</span></td>
                <td><input class="easyui-textbox" name="name" disabled="disabled"
                           style="width: 130px;height: 22px;"/></td>
                <td><span style="font-size: 14px">QQ:</span></td>
                <td><input class="easyui-textbox" name="qq" disabled="disabled" style="width: 120px;height: 22px;"/></td>
                <td><span style="font-size: 14px">Email:</span></td>
                <td><input class="easyui-textbox" name="email" disabled="disabled" style="width: 120px;height: 22px;"/></td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">电话:</span></td>
                <td><input class="easyui-textbox" name="tel" disabled="disabled" style="width: 130px;height: 22px;"/></td>
                <td><span style="font-size: 14px">当前状态:</span></td>
                <td><input class="easyui-combobox" name="statue.id" style="width: 120px;height: 22px;" disabled="disabled"
                           data-options="url:'/systemDictionary/getItemBySn?sn=statue',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">营销人员:</span></td>
                <td><input class="easyui-combobox" name="saleman.id" disabled="disabled"
                           data-options="valueField:'id',textField:'realName',url:'/employee/selectEmployeeByHan',panelHeight:'auto'"
                           style="width: 120px;height: 22px;"/></td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">上次跟进:</span></td>
                <td><input class="easyui-textbox" name="lastTraceTime" disabled="disabled" style="width: 130px;height: 22px;"/></td>
                <td><span style="font-size: 14px">所属学校:</span></td>
                <td><input class="easyui-combobox" name="bigCustomer.id" disabled="disabled"
                           data-options="valueField:'id',textField:'schoolName',url:'/bigcustomer/listAll',panelHeight:'auto'"
                           style="width: 120px;height: 22px;"/></td>
                <td><span style="font-size: 14px">意向班级:</span></td>
                <td><input class="easyui-combobox" name="client.clz.id" style="width: 120px;height: 22px;"
                           data-options="url:'/classgrade/listAllClassGradeJson',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">约访日期:</span></td>
                <td><input id="appointTime" class="easyui-datetimebox" name="client.appointTime"
                           style="width: 130px;height: 22px;"/></td>
                <td><span style="font-size: 14px">交流方式:</span></td>
                <td><input class="easyui-combobox" name="communicationMethod.id"
                           data-options="valueField:'id',textField:'name',url:'/systemDictionary/getItemBySn?sn=communicationMethod',panelHeight:'auto'"
                           style="width: 120px;height: 22px;"/></td>
                <td><span style="font-size: 14px">意向程度:</span></td>
                <td><input class="easyui-combobox" name="client.intentionDegree.id" style="width: 120px;height: 22px;"
                           data-options="url:'/systemDictionary/getItemBySn?sn=intentionDegree',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right" style="height: 30px">
                <td><span style="font-size: 14px">下次跟进:</span></td>
                <td><input id="nextTraceTime" class="easyui-datetimebox" name="client.nextTraceTime"
                           style="width: 130px;height: 22px;"/></td>
                <td><span style="font-size: 14px">跟进目的:</span></td>
                <td><input class="easyui-combobox" name="tracePurpose.id" style="width: 120px;height: 22px;"
                           data-options="url:'/systemDictionary/getItemBySn?sn=tracePurpose',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">咨询时长:</span></td>
                <td><input type="text" class="easyui-numberbox" data-options="prompt:'单位为分钟'" name="consultDuration"
                           style="width: 120px;height: 22px;"/></td>
            </tr>
            <%--<tr align="right" style="height: 80px">--%>
                <%--<td><span style="font-size: 14px">摘要:</span></td>--%>
                <%--<td colspan="6" align="left"><input type="textarea" name="focusProblem"--%>
                                                    <%--style="height: 50px;width: 540px"/>--%>
                <%--</td>--%>
            <%--</tr>--%>
            <tr align="right">
                <td><span style="font-size: 14px">交流内容:</span></td>
                <td colspan="6" align="left"><input type="textarea" name="communicationText" style="height: 50px;width: 540px"/>
                </td>
            </tr>
        </table>
    </form>
</div>

<div id="clientTraceAdd_btns">
    <a class="easyui-linkbutton traceAdd" iconCls="icon-save" plain="true" data-cmd="saveTrace">保存</a>
    <a class="easyui-linkbutton traceAdd" iconCls="icon-cancel" plain="true" data-cmd="cancelTrace">取消</a>
</div>